<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "{{%lottery_setting}}".
 *
 * @property integer $id
 * @property integer $store_id
 * @property string $rule
 * @property string $title
 * @property string $type
 */
class PurchaseMoneyLog extends \yii\db\ActiveRecord
{
	public $model;
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%purchase_money_log}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['store_id'], 'integer'],
        ];
    }
	
    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'store_id' => 'Store ID',
            'user_id' => 'user_id ',
            'purchase_id' => 'purchase_id',
            'money' => 'money ',
            'order_id' => 'order_id ',
			
        ];
    }
}
